package com.eastedu.report.common.model.po;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 资源接收应用分析 - 整体环节
 *
 * @author luozhenzhong
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "t_resource_receive_detail_usage")
@TableName("t_resource_receive_detail_usage")
public class ResourceReceiveDetailUsagePO extends CommonDimensionEntity {

    @Column(name = "`teaching_activity`", columnDefinition = "varchar(50) comment '环节名称'")
    private String teachingActivity;

    @Column(name = "`resource_type_name`", columnDefinition = "varchar(50) comment '资源类型名称'")
    private String resourceTypeName;

    @Column(name = "`followed_resource_receive_number`", columnDefinition = "int comment '同步资源接收个数'")
    private Integer followedResourceReceiveNumber;

    @Column(name = "`followed_resource_use_number`", columnDefinition = "int comment '同步资源使用个数'")
    private Integer followedResourceUseNumber;

    @Column(name = "`followed_resource_use_rate`", columnDefinition = "double comment '同步资源使用率'")
    private Double followedResourceUseRate;

    @Column(name = "`history_resource_use_number`", columnDefinition = "int comment '历史资源使用个数'")
    private Integer historyResourceUseNumber;

}
